
package com.insigma.business.qrcode.common.service;




import com.insigma.business.qrcode.common.dto.CommonAttachmentBSearcher;
import com.insigma.business.qrcode.common.entity.CommonAttachmentDO;

import java.util.List;


public interface CommonAttachmentService {

    
    List<CommonAttachmentDO> search(final CommonAttachmentBSearcher innerSearcher);

    
    CommonAttachmentDO get(final String id);

    
    Integer insert(final CommonAttachmentDO commonAttachment);

    
    Integer update(final CommonAttachmentDO commonAttachment);

    
    Integer delete(final String id, final String modifierType, final String modifierId);

    
    List<CommonAttachmentDO> listExpiredFile(int time);
}
